package com.sample.FinalProject;

import java.util.ArrayList;

import android.app.Application;
import android.graphics.Color;
import android.graphics.Rect;

public class CustomApp extends Application {
	ArrayList <Building> buildings= new ArrayList<Building>();
	ArrayList <Turret> towers=new ArrayList<Turret>();
	ArrayList <Square> squares=new ArrayList<Square>();
	ArrayList <Circle> CircleUnits=new ArrayList<Circle>();
	FinalView fv;
	
	public void onCreate(){
	buildings.add(new Building(415, 615, Color.WHITE, 1));
	buildings.add(new Building(0, 0, Color.GRAY, 1));
	towers.add(new Turret(75, 100, Color.GRAY));
	squares.add(new Square(25, 75, Color.RED ,false));
	squares.add(new Square(75, 50, Color.RED ,false));
	squares.add(new Square(75, 20, Color.RED ,false));
	}
	public void setFinal(FinalView fin){
	fv=fin;	
	}
	public void setBuilding(ArrayList <Building> temp){
	buildings=temp;	
	}
	public void setTowers(ArrayList <Turret> temp){
	towers=temp;	
	}
	public void setSquares(ArrayList <Square> temp){
	squares=temp;	
	}
	public void setCircleUnits(ArrayList <Circle> temp){
	CircleUnits=temp;	
	}
	public ArrayList<Building> getBuilding(){
	return buildings;	
	}
	public ArrayList<Turret> getTowers(){
		return towers;	
		}
	public ArrayList<Square> getSquares(){
		return squares;	
		}
	public ArrayList<Circle> getCircleUnits(){
		return CircleUnits;	
		}
	public FinalView getFinal(){
	return fv;	
	}
}
